/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 相关接口
 * API related to order
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Order.Model
{

    /// <summary>
    ///  orderDetailResponseObject
    /// </summary>
    public class OrderDetailResponseObject
    {

        ///<summary>
        /// 业务线
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 业务线名称
        ///</summary>
        public string AppName{ get; set; }
        ///<summary>
        /// 余额支付金额
        ///</summary>
        public double? BalancePay{ get; set; }
        ///<summary>
        /// 折扣金额
        ///</summary>
        public double? DiscountFee{ get; set; }
        ///<summary>
        /// 退款金额
        ///</summary>
        public double? RefundFee{ get; set; }
        ///<summary>
        /// 代金券金额
        ///</summary>
        public double? FavorableFee{ get; set; }
        ///<summary>
        /// 订单总金额
        ///</summary>
        public double? TotalFee{ get; set; }
        ///<summary>
        /// 现金支付金额
        ///</summary>
        public double? MoneyPay{ get; set; }
        ///<summary>
        /// 应付金额（订单总金额-折扣金额）
        ///</summary>
        public double? ActualFee{ get; set; }
        ///<summary>
        /// 已支付总额
        ///</summary>
        public double? PaidFee{ get; set; }
        ///<summary>
        /// 活动订单类型(NORMAL-正常订单,ACTIVITY-活动订单)
        ///</summary>
        public string ActivityType{ get; set; }
        ///<summary>
        /// 计费类型(CONFIG-按配置,FLOW-按用量MONTHLY-包年包月,ONCE-按次付费)
        ///</summary>
        public string ChargeMode{ get; set; }
        ///<summary>
        /// 订单创建时间（格式：yyyy-MM-dd HH:mm:ss）
        ///</summary>
        public string CreateTime{ get; set; }
        ///<summary>
        /// 未支付订单自动取消时间（格式：yyyy-MM-dd HH:mm:ss）
        ///</summary>
        public string ExpirationTime{ get; set; }
        ///<summary>
        /// 订单号
        ///</summary>
        public string OrderNumber{ get; set; }
        ///<summary>
        /// 购买订单类型(NEW-新购,RENEW-续费，RESIZE_FORMULA-配置变更)
        ///</summary>
        public string OrderType{ get; set; }
        ///<summary>
        /// 订单支付时间（格式：yyyy-MM-dd HH:mm:ss）
        ///</summary>
        public string PayTime{ get; set; }
        ///<summary>
        /// 付费类型(PRE_PAID-预付费,POST_PAID-后付费)
        ///</summary>
        public string PayType{ get; set; }
        ///<summary>
        /// 支付确认页地址
        ///</summary>
        public string PayUrl{ get; set; }
        ///<summary>
        /// 付款人
        ///</summary>
        public string Payer{ get; set; }
        ///<summary>
        /// 支付渠道（BALANCE_PAYMENT-余额支付,ENTERPRISE_BANK_PAYMENT-企业网银,PERSONAL_BANK_PAYMENT-个人网银,JD_PAYMENT-京东,WENXIN_PAYMENT-微信支付,OFFLINE_PAYMENT-线下汇款）
        ///</summary>
        public string PaymentChannel{ get; set; }
        ///<summary>
        /// 支付订单号
        ///</summary>
        public string PaymentNumber{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 订单申请人，创建人
        ///</summary>
        public string Proposer{ get; set; }
        ///<summary>
        /// 备注
        ///</summary>
        public string Remark{ get; set; }
        ///<summary>
        /// 自营类型(SELF_SUPPORT-自营,THIRD_PARTY_SUPPORT-非自营)
        ///</summary>
        public string SelfSupportType{ get; set; }
        ///<summary>
        /// 产品线名称
        ///</summary>
        public string ServiceName{ get; set; }
        ///<summary>
        /// 站点名称（MAIN_SITE-主站，INTERNATIONAL_SITE-国际站，SUQIAN_DEDICATED_CLOUD-宿迁专有云）
        ///</summary>
        public string SiteType{ get; set; }
        ///<summary>
        /// 订单状态（PAID-已支付,FAILED-失败,NO_PAY-未支付,DEALING-处理中,CANCELED-已取消,REFUND_PART-部分退款,REFUND_ALL-全部退款）
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 订单更新时间
        ///</summary>
        public string UpdatedTime{ get; set; }
        ///<summary>
        /// 子订单
        ///</summary>
        public List<OrderDetailResponseObject> ChildOrderDetailList{ get; set; }
        ///<summary>
        /// 子资源订单
        ///</summary>
        public List<OrderItemDetailResponseObject> OrderItemDetails{ get; set; }
    }
}
